import './index.css'
import ReactDOM from 'react-dom'
const BackdropRoot = document.getElementById('backdrop')
export const Backdrop = props => {
  return ReactDOM.createPortal(
    <div className='backdrop'>{props.children}</div>,
    BackdropRoot
  )
}
